Feature

open class Feature : Observable

An abstraction that shares the common properties of KmlPlacemark and GeoJsonFeature

Inheritors

Constructors

Link copied to clipboard
constructor(featureGeometry: Geometry, id: String, properties: Map<String, String>)
Creates a new Feature object

Functions

Link copied to clipboard
open fun addObserver(o: Observer)
Link copied to clipboard
open fun countObservers(): Int
Link copied to clipboard
Link copied to clipboard
open fun deleteObservers()
Link copied to clipboard
open fun getGeometry(): Geometry
Gets the geometry object
Link copied to clipboard
open fun getId(): String
Gets the id of the feature
Link copied to clipboard
Gets the property entry set
Link copied to clipboard
open fun getProperty(property: String): String
Gets the value for a stored property
Link copied to clipboard
Returns all the stored property keys
Link copied to clipboard
open fun hasChanged(): Boolean
Link copied to clipboard
open fun hasGeometry(): Boolean
Checks if the geometry is assigned
Link copied to clipboard
Gets whether the placemark has properties
Link copied to clipboard
open fun hasProperty(property: String): Boolean
Checks whether the given property key exists
Link copied to clipboard
open fun notifyObservers()